from django.urls import path

from apps.news import views

app_name = 'news'
urlpatterns = [
    path('', views.index, name='index'),
    path('<int:news_id>/', views.detail_view, name='detail_view'),
    path('comment/', views.comment_view, name='comment_view'),

    path('list/', views.list_view, name='list_view'),
    path('list/comment/<int:news_id>/', views.list_comment_view, name='list_comment_view'),
]
